package com.factory._06adapter;

/**
 * （客户端 Client）
 */
public class Notebook {
    public void charge(BritishStandard britishStandard) {
        if ("中式插座".equals(britishStandard.getBritishStandard())) {
            System.out.println("充电成功！");
        } else {
            System.out.println("充电失败！");
        }
    }
}
